package com.yida.gwj.expend.mapper;

import com.yida.gwj.expend.domain.GwjMaintenanceFundsBusinessBuild;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 业务楼栋Mapper接口
 *
 * @author lgp
 * @date 2023-02-20
 */
@Mapper
public interface GwjMaintenanceFundsBusinessBuildMapper {
    /**
     * 查询业务楼栋
     *
     * @param businessBuildId 业务楼栋主键
     * @return 业务楼栋
     */
    public GwjMaintenanceFundsBusinessBuild selectGwjMaintenanceFundsBusinessBuildByBusinessBuildId(Long businessBuildId);

    /**
     * 查询业务楼栋列表
     *
     * @param gwjMaintenanceFundsBusinessBuild 业务楼栋
     * @return 业务楼栋集合
     */
    public List<GwjMaintenanceFundsBusinessBuild> selectGwjMaintenanceFundsBusinessBuildList(GwjMaintenanceFundsBusinessBuild gwjMaintenanceFundsBusinessBuild);

    /**
     * 新增业务楼栋
     *
     * @param gwjMaintenanceFundsBusinessBuild 业务楼栋
     * @return 结果
     */
    public int insertGwjMaintenanceFundsBusinessBuild(GwjMaintenanceFundsBusinessBuild gwjMaintenanceFundsBusinessBuild);

    /**
     * 修改业务楼栋
     *
     * @param gwjMaintenanceFundsBusinessBuild 业务楼栋
     * @return 结果
     */
    public int updateGwjMaintenanceFundsBusinessBuild(GwjMaintenanceFundsBusinessBuild gwjMaintenanceFundsBusinessBuild);

    /**
     * 删除业务楼栋
     *
     * @param businessBuildId 业务楼栋主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessBuildByBusinessBuildId(Long businessBuildId);

    /**
     * 批量删除业务楼栋
     *
     * @param businessBuildIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessBuildByBusinessBuildIds(Long[] businessBuildIds);

    /**
     * 删除业务楼栋信息信息-通过业务ID
     *
     * @param bizId 业务楼栋主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessBuildByBusinessId(Long bizId);

    /**
     * 查询业务楼栋
     *
     * @param bizId 业务楼栋主键
     * @return 业务楼栋
     */
    public GwjMaintenanceFundsBusinessBuild selectGwjMaintenanceFundsBusinessBuildByBusinessId(Long bizId);

    /**
     * 批量新增业务楼栋
     *
     * @param gwjMaintenanceFundsBusinessBuilds 业务楼栋集合
     * @return 结果
     */
    public int insertBatchGwjMaintenanceFundsBusinessBuild(List<GwjMaintenanceFundsBusinessBuild> gwjMaintenanceFundsBusinessBuilds);

}
